
#include <mockcpp/mockcpp.hpp>
#include <testngpp/testngpp.hpp>
#include <Square.h>

USING_MOCKCPP_NS
USING_TESTNGPP_NS


FIXTURE(Square)
{
	TEST(should be able to calculate area: 5*5=25)
	{
		Square square(5);
		ASSERT_EQ(5*5, square.getArea());
	}

        TEST(should be able to calculate primeter: (5+5)* 2= 20)
	{
		Square square(5);
		ASSERT_EQ(20, square.getPrimeter());
	}

};

